#include <iostream>
#include <format>
using namespace std;

int main() {
  char c;
  cin >> c;
  cout << format("  {}  ", c) << endl;
  cout << format(" {0}{0}{0} ", c) << endl;
  cout << format("{0}{0}{0}{0}{0}", c) << endl;
  return 0;
}